package com.scvtc.service.office;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.entity.office.OfficeProgress;
import com.scvtc.domain.vo.PageVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 教学进程
 */
public interface OfficeProgressService extends IService<OfficeProgress> {
    ResResult<PageVo<List<OfficeProgress>>> getAllInfo(Long current, Long size, OfficeProgress OfficeProgress);
    /**
     * 添加一个会议
     *
     * @param OfficeProgress
     * @return
     */
    ResResult<?> addOneOfficeProgress(OfficeProgress OfficeProgress);

    /**
     * 修改文件
     *
     * @param OfficeProgress
     * @return
     */
    ResResult<?> updateOfficeProgress(OfficeProgress OfficeProgress);

    /**
     * 删除单个学生
     *
     * @param id
     * @return
     */
    @Transactional
    ResResult<?> deleteOfficeProgress(Long id);

    /**
     * 删除多个学生
     *
     * @param ids
     * @return
     */
    @Transactional
    ResResult<?> deleteMultipleOfficeProgress(Long[] ids);


}
